How to handle multiple windows in selenium